import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    showLogin: false,
    idObj: {
     id:"19723756"
    },
  },
  getters: {
  },
  mutations: {
    change(state) {
      state.showLogin = !state.showLogin
    },
    changeId(state,payload) {

      state.idObj = payload
      console.log(state.idObj);
    }
  },
  actions: {
  },
  modules: {
  }
})
